import java.util.ArrayList;
// import java.util.List;

public class Demo01 {
    public static void main(String[] args) {
        ArrayList<String> arrayList1 = new ArrayList<String>();
        arrayList1.add(new String());
        arrayList1.add(new String());
        // ArrayList<Object> arrayList2 = arrayList1;//error
    }
}
